const {DataTypes, db } = require("../db");
db.define('test', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
tenantId: {type:DataTypes.INTEGER,allowNull:false,comment:'租户',  },
a:{type: DataTypes.STRING,comment:'d'}, 
b:{type: DataTypes.STRING,comment:'ds'}, 

isDel: {type: DataTypes.INTEGER,comment:'删除0|1', },
cby: {type: DataTypes.INTEGER,comment:'创建人'},
uby: {type: DataTypes.INTEGER,comment:'更新人'},
dby: {type: DataTypes.INTEGER,comment:'删除人'},
ctime: {type: DataTypes.STRING,comment:'创建时间'},
utime: {type: DataTypes.STRING,comment:'更新时间'},
dtime: {type: DataTypes.STRING,comment:'删除时间', },
}, {
    tableName: 'test',
    timestamps: false
});